<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\widgets\Pjax;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $model common\models\Achievement */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="achievement-form">

    <section id="input-wrapper">
        <div class="container">
            <div id="input-box" >
                <p class="achievement-title">
                    <i class="glyphicon glyphicon-search"></i>&nbsp;成绩录入
                </p>
                <div class="row">

                    <?php $form = ActiveForm::begin(); ?>

                    <?php $type = ['1'=>'是','0'=>'否'] ?>
                    <div class="col-md-6 col-lg-4">
                        <?= $form->field($model, 'full_name')->textInput(['class'=>'form-control','placeholder'=>"考生姓名"])->label(false) ?>
                    </div>
                    <div class="col-md-6 col-lg-4">
                        <?= $form->field($model, 'id_card')->textInput(['class'=>'form-control','placeholder'=>"考生身份证"])->label(false) ?>
                    </div>
                    <div class="col-md-6 col-lg-4">
                        <?= $form->field($model, 'mobile')->textInput(['class'=>'form-control','placeholder'=>"电话号码"])->label(false) ?>
                    </div>
                    <div class="col-md-6 col-lg-4">
                        <?= $form->field($model, 'subject')->textInput(['class'=>'form-control','placeholder'=>"考试科目"])->label(false) ?>
                    </div>
                    <div class="col-md-6 col-lg-4">
                        <?= $form->field($model, 'score')->textInput(['class'=>'form-control','placeholder'=>"成绩"])->label(false) ?>
                    </div>
                    <div class="col-md-6 col-lg-4">
                        <?= $form->field($model, 'pass')->dropDownList($type)->label(false) ?>
                    </div>

                    <div class="col-xs-12 col-md-12 col-lg-10 col-md-offset-1 col-lg-offset-2" >
                        <?= Html::submitButton(Yii::t('app', '修改并保存'), ['class' => 'col-xs-12 col-md-10 col-lg-10 btn btn-info']) ?>
                    </div>

                    <?php ActiveForm::end(); ?>
                </div>
            </div>

        </div>
    </section>

</div>
